<template>
	<div id="selectAuth">
		<header>
			<i @click="goBack()"></i>
            <div>选择会员</div>
		</header>
		<div>
			<label @change="select()">
				<img src="../../image/icon_clinic@2x_03.png" width='74' height="74" alt="">
				<input type="radio" v-model="userAuth" value='clinic'>
				<i>智能诊室会员</i>
			</label>
			<label @change="select()">
				<img src="../../image/icon_doctor@2x_03.png" width='74' height="74" alt="">
				<input type="radio" v-model="userAuth" value='remote'>
				<i>远程认证会员</i>
			</label>
		</div>
	</div>
</template>
<script>
	export default {
		data() {
			return {
				userAuth: '',  //身份 共享诊室会员还是远程认证会员
			}
		},
		methods: {
			//返回上一级
			goBack() {
                this.$router.push({path: '/doctorList'});
            },
            //选择会员类型
			select() {
                if(this.userAuth == 'clinic') {
					this.$router.push({name: 'doctorAuth'});
				}else if(this.userAuth == 'remote') {
					
				}
			},
		},
		created() {

		}
	}

</script>
<style lang="scss" scoped>

</style>